using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Risiko.State
{
  public struct Deck
  {
    public List<Card> cards;

    public Card ExtractCard()
    {
      Random rnd = new Random();
      int i = rnd.Next(0, cards.Count());
      Card extractedCard = cards[i];
      cards.RemoveAt(i);

      return extractedCard;
    }

    public void PushCard(Card c)
    {
      cards.Add(c);
    }

  }
}
